// ignore_for_file: unnecessary_question_mark

class UserInfo {
  String? createTime;
  String? updateTime;
  int? id;
  int? founderId;
  dynamic agencyId;
  String? name;
  String? loginName;
  String? password;
  String? email;
  String? telephone;
  String? headimg;
  dynamic weChat;
  dynamic url;
  String? province;
  String? provinceCode;
  String? expireTime;
  int? type;
  int? status;
  bool? alarmNotifierStatus;
  String? remarks;
  int? departmentId;
  String? company;
  dynamic code;
  int? planCount;
  dynamic queryStr;
  dynamic foundeName;
  dynamic businessLicenseUrl;
  int? roleId;
  String? token;
  bool? admin;

  UserInfo(
      {this.createTime,
      this.updateTime,
      this.id,
      this.founderId,
      this.agencyId,
      this.name,
      this.loginName,
      this.password,
      this.email,
      this.telephone,
      this.headimg,
      this.weChat,
      this.url,
      this.province,
      this.provinceCode,
      this.expireTime,
      this.type,
      this.status,
      this.alarmNotifierStatus,
      this.remarks,
      this.departmentId,
      this.company,
      this.code,
      this.planCount,
      this.queryStr,
      this.foundeName,
      this.businessLicenseUrl,
      this.roleId,
      this.token,
      this.admin});

  UserInfo.fromJson(Map<String, dynamic> json) {
    createTime = json["createTime"];
    updateTime = json["updateTime"];
    id = json["id"];
    founderId = json["founderId"];
    agencyId = json["agencyId"];
    name = json["name"];
    loginName = json["loginName"];
    password = json["password"];
    email = json["email"];
    telephone = json["telephone"];
    headimg = json["headimg"];
    weChat = json["weChat"];
    url = json["url"];
    province = json["province"];
    provinceCode = json["provinceCode"];
    expireTime = json["expireTime"];
    type = json["type"];
    status = json["status"];
    alarmNotifierStatus = json["alarmNotifierStatus"];
    remarks = json["remarks"];
    departmentId = json["departmentId"];
    company = json["company"];
    code = json["code"];
    planCount = json["planCount"];
    queryStr = json["queryStr"];
    foundeName = json["foundeName"];
    businessLicenseUrl = json["businessLicenseUrl"];
    roleId = json["roleId"];
    token = json["token"];
    admin = json["admin"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data["createTime"] = createTime;
    data["updateTime"] = updateTime;
    data["id"] = id;
    data["founderId"] = founderId;
    data["agencyId"] = agencyId;
    data["name"] = name;
    data["loginName"] = loginName;
    data["password"] = password;
    data["email"] = email;
    data["telephone"] = telephone;
    data["headimg"] = headimg;
    data["weChat"] = weChat;
    data["url"] = url;
    data["province"] = province;
    data["provinceCode"] = provinceCode;
    data["expireTime"] = expireTime;
    data["type"] = type;
    data["status"] = status;
    data["alarmNotifierStatus"] = alarmNotifierStatus;
    data["remarks"] = remarks;
    data["departmentId"] = departmentId;
    data["company"] = company;
    data["code"] = code;
    data["planCount"] = planCount;
    data["queryStr"] = queryStr;
    data["foundeName"] = foundeName;
    data["businessLicenseUrl"] = businessLicenseUrl;
    data["roleId"] = roleId;
    data["token"] = token;
    data["admin"] = admin;
    return data;
  }
}

class CompanyProjectModel {
  int? deptId;
  String? name;
  int? projectId;
  String? businessLicenseUrl;

  CompanyProjectModel(
      {this.deptId, this.projectId, this.name, this.businessLicenseUrl});

  CompanyProjectModel.fromJson(Map<String, dynamic> json) {
    deptId = json["deptId"];
    name = json["name"];
    projectId = json['projectId'];
    businessLicenseUrl = json['businessLicenseUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data["deptId"] = deptId;
    data["name"] = name;
    data['projectId'] = projectId;
    data['businessLicenseUrl'] = businessLicenseUrl;
    return data;
  }
}
